package com.project.myxima.interfaces;

import com.ximalaya.ting.android.opensdk.model.album.Album;
import com.ximalaya.ting.android.opensdk.model.word.HotWord;
import com.ximalaya.ting.android.opensdk.model.word.QueryResult;

import java.util.List;

public interface ISearchCallback {

    public void onSearchResultLoaded(List<Album> result, boolean isLoadMore);

    public void onHotWordLoaded(List<HotWord> hotWordList);

    public void onLoadMoreResult(List<Album> result, boolean isOkay);

    public void onSuggestionWordLoaded(List<QueryResult> keyWordList);

    public void onError(int errorCode, String errorMsg);
}
